/**index.less**/
page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
}

.scrollarea {
  flex: 1;
  overflow-y: hidden;
}

.insert-way {
  position: relative;
  height: 80rpx;

  .insert-box {
    display: flex;
    width: 100%;
    position: absolute;
  }
}

.category-content-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.category-left-scroll {
  flex: 1;
  overflow: scroll;
  background-color: #f5f5f5;
}

.left-view-item {
  height: 88rpx;
  color: #333333;
  line-height: 88rpx;
  margin-top: 10rpx;
  margin-bottom: 10rpx;
  text-align: center;
  border-left: 6rpx solid #ffffff;
  font-size: 26rpx;
}

.active {
  border-left: 6rpx solid #f3514f;
  color: #f3514f;
  background-color: #ffffff;
}

.category-right-scroll {
  overflow: scroll;
  flex: 4;
}

.search-container {
  display: flex;
  background-color: #f5f5f5;
  margin: 20rpx;
  height: 60rpx;
  padding-left: 10rpx;
  line-height: 60rpx;
  color: #999999;
  font-size: 23rpx;
  border-radius: 10rpx;
}

.search-style {
  background-color: #f5f5f5;
  height: 60rpx;
  width: 85%;
  padding-left: 10rpx;
  line-height: 60rpx;
  color: #999999;
  font-size: 23rpx;
  border-radius: 10rpx;
}

.category-right-container {
  display: grid;
  margin-top: 20rpx;
  grid-template-columns: auto auto auto;
}

.category-right-container .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20rpx;
}

.category-right-container .category-item image {
  width: 168rpx;
  height: 208rpx;
}

.category-right-container .category-item text {
  width: 168rpx;
  margin-top: 10rpx;
  color: #333333;
  font-size: 26rpx;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

}

.detail-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.search-box {
  background-color: white;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20rpx;
}

.total {
  margin: 20rpx;
}